package cn.edu.scau.cmi.huangmaoqin.client;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class HibernateClientsByDAO extends Application {
	public static void main(String[] args) {
		launch(args);
	}

	public void start(Stage primaryStage) {
		try {
			Parent root = FXMLLoader.load(getClass()
					.getResource("/cn/edu/scau/cmi/huangmaoqin/hibernate/clientController/StudentManage.fxml"));

			Scene scene = new Scene(root, 511, 454);
			primaryStage.setScene(scene);
			primaryStage.setResizable(false);
			primaryStage.setTitle("Hibernate设计");
			primaryStage.show();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
